Israel did warn America before it happened. Israel did not know in what form the attack was going to be.
Mossad is in NY, Ca, NJ and other major American cities, and probably in several of our government offices, and even had one in the Pentagon as has already been reported. All foreign agents are and always has been trying to do the same thing.