We have AI smarter than a single ant and we know enough about ant brains to be able to tell. One of the branches of AI research focuses on modeling neurons and building systems which demonstrate identical behaviors to tapeworms or ant's etc. The next step seems to be modeling rat brains, but the gap between human and rat is a lot smaller than the gap between rat and ant.