It is not illegal per se; but according to state employment policy, state employees are not to have firearms with them in their workplace buildings, in their vehicles while in the building parking lots, or in state vehicles.
Don't ask, don't tell- but if you're caught, be prepared to pay the price.