Iraq? The "war" justified by mostly UN resolutions? That "war". No. That is not a war. That was a use of force act, not a declaration of war.
The attack on Libya in 2011 is completely illegal, both in international law, and American law. Which is why Obama is depending heavily in the CIA (even he knows it is illegal to use the military).
What clouds your vision is your blind patriotism for the US military.