05AB1E, 3 4 33 2 bytes
crossed out 4 is still regular 4 ;(
ݛJݛ
+1 byte as bugfix (L
results in \$[1,0]\$ for edge-case \$n=0\$)
-1 byte thanks to @lyxal
-1 byte due to a comment of OP ("Any unambiguous output format is allowed"), so it'll output as a list
Explanation:
Ý # Push a list in the range [0, (implicit) input of STDIN]
› # Check for each value whether the (implicit) input is larger
J # Join those 1s and 0 together
# (after which itthis list is output implicitly as result to STDOUT)