Neither. Some people are crazy, some of those people are religious, some aren’t. It’s confirmation bias, the some uncharitable unreligious people think the religious are more likely to be nuts, so when they see unusual behaviour in religious people, they put it down to religion and vice versa.