are nuns not allowed to marry?
Nuns are consecrated to communal life in a monestary and take perpetual vows of poverty, chastity, and obedience. They can't get married except in the rare occasions in which they are released from their vows. In that case, they would no longer be nuns (or living in community or a cloister).