I agree the Muslim Ban isn't racist.  It is about establishing religion as a basis for discrimination.

According to Trump, it was and still is a Muslim ban.

After making the promise in 2015 to ban Muslims, Trump released "Donald J. Trump Statement on Preventing Muslim Immigration" which is still available on his web site: https://www.donaldjtrump.com/press-releases/donald-j.-trump-statement-on-preventing-muslim-immigration

When he "pivoted" to talk about banning certain nationalities, rather than Muslims, he was asked if this meant he'd pulled back from the Muslim ban. He said "I don’t think it’s a rollback. In fact, you could say it’s an expansion. I’m looking now at territories."

Later, he said his Muslim ban policy had been "right all along".