Break it properly then bin it, cut it in half or similar. The same is true of all helmets and most other safety kit. You need to ensure that nobody will consider it as a viable piece of safety equipment under any circumstances once it has hit end of life.
Recycling centres aren't going to take it because they're set up for bottles, packaging etc. The mixed materials are complex to separate and they'd have to work out which specific plastics they are as it probably doesn't have the markings to tell you.
In terms of whacking your head recently, I don't know about ski helmets specifically, but cycle and motorcycle helmets are both one and done. White water helmets are designed to take quite a beating due to the nature of rivers, but you should still consider replacement after a major impact.
Edit: Apparently ski helmets are much like white water helmets and in some cases made by the same companies, good for multiple small impacts but only one major one.