I echo the sentiments of many here, I believe it's logical for people to want two things:
1.) Not To Die
2.) To understand why they're here
Religion answers both of them, so it's logical for people to be religious. There's a great quote "People can see things differently, but only religion can turn that into a long bloody war", I think that it's logical to turn to religion to answer life's questions, I also feel that when people discuss relgion (defend their beliefs) they become very illogical.