Donald Trump said that if he is elected, he would ban immigration from areas of the world with a history of terrorism ties.