It's still a blanket ban on certain nationalities which is wrong.  This generally shouldn't be done and I oppose countries that do it without a good reason (the only sensible one is if there is a serious disease outbreak then it might be justified, but those who are that nationality and were not present in the country during the outbreak would be exempt).  Most Middle Eastern countries ban Israeli nationals from entering which is wrong and what separates developed from developing countries is we generally don't do this stuff.  Trump is acting more like a Third world dictator then a leader in a first world liberal democracy.