Do stupid people like you know that they're stupid?
(Get the logic behind this one; assuming Andy doesn't lie...)
If the answer is YES, then it implies he's stupid, and knows it.
If the answer is NO, he's still stupid, and he doesn't know it.
Conclusion: Andy's stupid.