I don't think it is off-topic. Indeed god gene is a thing. It has been proposed that the ability to have believe in god or supernature, has a genetic or molecular basis.
Localisation of expression site for VMAT-2. its variation has been linked to the phenotype of having believe or faith in god. animated image from Wikipedia having this Wikimedia description page and URL. Converted to GIF using. I accidentally forgot which web app i used to convert OGG-> GIF if i can find it again on google search result i'll upload.
Spirituality comes into psychology in another context; why some people become atheists. Surprisingly a deficiency in social norms understanding, such as Aspergers' syndrome, seen to have a corelation with atheism. seeing purpose behind nature's act has been considered by some people to be a by-product of social cognition (pdf). On a small scale study, Bethany T. Heywood found aspergers tended to respond in a way that their reasoning for rationalistic explanation is more inherent or natural, whereas a neurotypical atheist participant group seemed to be in fight against teleological response to arrive at the rationalistic explanation. (Related: “Meant to be”: how religious beliefs and cultural religiosity affect the implicit bias to think teleologically). It has been a debate that whether autism leads to atheism.
Apart from pathological evidence; an excellent National Geographic documentary, Question the Herd, belonging to the Brain game series, excellently explains Social conformity, herd behaviour, and why they receive evolutionary advantages, and what are its downsides. Theism is sometimes linked with herd behaviour.
Also there has been researches like this that deals with how the concepts of god and supernature originated and spread.
These type of discussions belong to the domain of hardcore neurology, psychology and psychiatry. And should get place for discussion.