It is grammatically incorrect. This is the correct version: I am an Iranian by birth and of the Islamic faith. And this is the more natural version: I am a Muslim and Iranian by birth.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.