Donald Trump warned another terror attack will happen on American soil, during a pre-taped Fox News town hall set to air Wednesday night.

"It's going to happen again because there's something wrong, and until we figure it out, we have to stop it," Trump told host Sean Hannity.

The Republican nominee said America cannot "be nice about it" and expect to see a change in U.S. national security.

Earlier this week, Trump shared new details about his plan to screen immigrants and refugees attempting to enter the country. The billionaire businessman said he would also create a task force to determine the connection between the Islamic State and the Muslim religion.