Its only a pen of-course its legal or else they should ban all pens. Weapons laws are completely stupid.
The only thing is the glass breaker tip that can look like a weapon.