Nope. It was based on nationality.
Still, non-citizens have no constititutional rights. A legal fight worth waging.
And BTW ... Obama bans Christian refugees from Syria.