Who said anything about it being a crime? There are many things that aren't crimes that can get you fired.