Closing borders to specifically muslims is a pretty racist idea yes, however you swing it
His original plan was to stop muslims entering and leaving altogether, not just from countries which are unstable. Its one thing arguing to close borders to unstable countries, its another thing to close borders to only muslims from unstable countries and entirely something else to plan to close borders to all muslims from all countries
no thats not a strawman