The halberds are largely ceremonial, although it would not surprise me to learn that the Swiss Guard trained with them. When they really have to go into action, they go with modern weapons and gear. And they are highly effective.
A friend was touring the Vatican and said he made a wrong turn. He saw some well armed guards in modern gear hiding in the shadows. If he didn’t turn back he swears he would have met them and not had a good day.