Not necessarily. A recent study focuses on a peculiar gene:
This particular gene variant seems to make people more susceptible to environmental influences – whether religious or otherwise. If you looked at these people in a religious environment, then you would say that this is a gene 'for' religion. Put these same people in a non-religious environment, and you would say that is a gene 'against' religion!