I don't seem to understand why anybody would make such a correlation. I think the avarage IQ depends on how wealth and how well developed your country is, and not how many believe in religious stuff.
1. Religion tends to suppress and influence education, if that has any effect on the IQ of the population has yet to be proven