Canada has its own communist party, the Communist Party of Canada.
Past CCP membership is not inadmissible, nor requires active opposition in US.