A religious official or member of the clergy is also known as a cleric. The priest in an Episcopal church is a cleric, and so is a Muslim imam.
The term cleric is less common than clergyman and clergywoman, but when you're talking about a Christian or Muslim religious leader, it's a great word to use. Cleric comes from the Latin clericus, "priest," and its Greek root klēros, "inheritance or heritage." It shares these roots with clerk, a word that was originally a synonym of cleric but today more often means "a person working in an office."