The U.S. Constitution does not pertain to want to be immigrants.  People that apply for immigration must be allowed to be vetted and can be turned down for many different reasons already in place.
The countries President Trump has chosen are countries that have no current government where records can be obtained, or countries like Iran that refuse to cooperate with information and tell us with their middle finger up, "Death to America!".