They cannot be Roman Catholic.
Although this law was changed in 2011 and released the royal family from the regulation preventing them from marrying a person of Roman Catholic faith, they themselves must still remain loyal to the Church of England.