It is uncontroversially a war crime. Chemical warfare is explicity banned by the Geneva convention, to which the US is of course a signatory.
However, great powers are exempt from being challenged by international law, because they simply don't permit it.