The last time I checked, there were no reports of a Libyan invasion of a NATO country.
Serbia didn't invade a NATO country either, still it was "Bombs Away!"
The US is party to more treaties than the NATO-related ones. We are, for example, a permanent member of the UN Security Council.