Iranian Wacko Coming to the UN

Could someone explain to me why we would even let a known terrorist such as the President of Iran get into our country?