It is surprisingly not.
I travel frequently with random ESP32 projects in various stages of looking highly suspicious and never get hassled about them. 4oz of an unfinished bottle of water though is absolutely not getting through security.
https://www.tsa.gov/travel/security-screening/whatcanibring/...