This will not be allowed in your carry-on luggage, out of An Abundance of Caution (R).
If you try and take it through, the TSA gropers and robbers will confiscate it. TSA employees need Halloween costumes, too.
However, feel free to wear it as a hat through the security checkpoint. That will be fine, as there are no restrictions on hats.