No, that isn't true. There are many practicing Catholics who are
Masons. You can be assured that there is nothing whatsoever, in being a Mason, which conflicts with a person's duties as a practicing Catholic. It is understood that there is a Papal directive banning Catholics from becoming Freemasons but such a ban does not come from Freemasonry.