A huge security violation if true even if it’s a recording of a discussion of baseball scores!
Big time, it’s no different than bringing a recording device into a classified document storage vault. It’s illegal even if you don’t turn it on, it’s illegal to even have it past the door threshold.