No, your boss never needs to know, unless you have trouble at work and need the union to come and help you.
Being harassed at work because of your union membership is against the law. The union can defend you from this and leave you free to get on with the job. Union membership is your right � your boss cannot tell you that you cannot join.
For more information about union membership, contact the Helpdesk on 1300 732 698.