Computational Parity Party!
JavaScript (ES6),  18  17 bytes
Similar to my answer to Is this number evil? except that the last iteration returns \$0\$, which saves a byte.

f=n=&gt;n&amp;&amp;!f(n&amp;~-n)

Try it online!

JavaScript (ES6), 30 bytes
Converts to binary, parses as base-3 and returns the parity.

n=&gt;parseInt(n.toString(2),3)&amp;1

Try it online!