Masonic Popes
At least one Pope was a Freemason but he was expelled from Freemasonry for repeated violations of his obligations to his Masonic Brethren. This was Pope Pius IX. See "The Story of Freemasonry" by Sibley, page 25.
There may have been others.