Complex sentence: Zoroastrianism is often compared with the Manichaeism, which is nominally an Iranian religion but has its origins in the Middle-Eastern Gnosticism.
Split into simpler sentences: Zoroastrianism is often compared with the Manichaeism. Mominally an Iranian religion, it has its origins in the Middle-Eastern Gnosticism.