If it is an imminent immediate threat, yes, as with all commander in chief decisions
However he must then seek congresses approval to continue and lengthy missions. I also have major concerns if the president claims that an American is a terrorist (this is is dangerous territory)