It's, unfortunately, not illegal unless the military action continues for more than 60 days without Congressional approval. This is due to the War Powers Resolution of 1973.
These strikes are not illegal in the American body of legislation and law. We've been doing things like this for many decades.