It is not illegal to be a bigot just as it is not illegal to be an ass or to be stupid. You may believe how you like in our country! It is how you put your beliefs into practice that may be against the law though.
Not sure whether this is true in Canada.