Unions have special carve outs in the antitrust laws. Besides that, colluding to limit labor supply isn't necessarily legal either. E.g. The DOJ has threatened the ABA with antitrust enforcement if they use the law school accreditation process to artificially limit the supply of lawyers. This is labor side collusion, but is still considered illegal because it doesn't fall within union carve outs.