There are several diifferent types of Masonry - I can't remember the differences but I know that Scottish Lodges & English Lodges differ.
In a Scottish Lodge:
"The Essential Qualification for Membership
The essential qualification for admission into and continuing membership is a belief in a Supreme Being. Membership is open to men of any race or religion who can fulfil this essential qualification and who are of good repute.
Freemasonry and Religion
Freemasonry is not a religion, nor is it a substitute for religion. The one essential qualification means that Freemasonry is open to men of many religions and it expects and encourages them to continue to follow their own faith. It is not permitted for Freemasons to discuss these subjects at Masonic meetings."
Grand Masonic Lodge of Scotland