Depends on what level you're holding your morality to as a standard: a) Self. For whatever reason, you have "standards". When you break your own standards, is it immoral? b) Community. For whatever reason, communities have standards. When you break community standards, is it immoral? c) Something in a book, like a Math or Science, Philosophy or Religion you once read. When you break a book's standards, is it immoral? I don't know what other things to ground morality to.