Yes, it is illegal to sell a used helmet. A secondhand helmet is always damaged, uncomfortable, and does not provide the road's required safety. It would be hazardous for anyone to drive with a broken or damaged helmet on the road. You can sell the helmet if the helmet is working correctly, is in good condition, and is not expired at the present date.