Firstly, you didn't refute my argument. Secondly, I didn't say that all smart people are atheists. There are many smart people who believe in God.
Atheists on average, however, seem to be more intelligent. Or they at least do better on IQ tests, generally.
agnostics are on the average smarter than religious people as well, it's because smarter people tend to question more and think for themselves, therefore they are more prone to believing in rebellious ideas like atheism than the average Joe.