I have an INTJ friend who is an incredibly religious Catholic.
He strongly believes in the moral code of the religion and considers it the best way to live life. He doesn't impose his views on other people and he's a great person to argue with! The thing I like about him best is that he is tolerant of those who don't follow the same views he does. The only religious people who bother me are those who are intolerant of other views. He has plans to get a PHD in Theology.
Not all NTs are atheists..keep that in mind.
On the other side, I have another INTJ friend who strongly opposes religion and he was raised in a strongly religious Catholic family. On the other hand, he was also raised in an SJ-ish environment in terms of Catholicism while I don't think my other friend was. He's a hardcore atheist and he's pretty intolerant of those who are religious...
In terms of NTs and religion, I think it matters by the way religion is brought upon you.