When it came to Inferi, the original person was no more. Their soul was no longer here and if they were magical in any way, it was gone. Only the magic of the ritual fueled the Inferi. So the intelligence didn’t necessarily come from the deceased. It's possible that if there’s still brain matter that the Inferi might have more intelligence; as you could still raise a body centuries later. 