Uiua 0.10.0, 43 bytes
0=.⇡0¬⊚
-1 byte thanks to @noodle man
Returns a list of 1s then a 0.
Other solutions
Just to showcase other features in Uiua and different options for output.
0=.⇡
0↯:1
⇌±⇡+1
>⇡+1.
¬⋯ⁿ:2
⇌[@0⍥@1]
0⍥&p‿1
0⍥1 #cannot be bound to a function name