https://www.tsa.gov/travel/security-screening/whatcanibring/...
Final decision vests with the TSA agent at the desk.
But there are needles which are short metal/plastic parts, with a long flexible back (eg for circular knitting) which are very unlikely to cause an issue: the point is smaller than a pen.