Revision 153074d0-ae69-41ed-a6da-a1f4836ec81a - Code Golf Stack Exchange
#Brainfuck, 41 bytes
Subtract 48 from the input, and if it's not zero, add 1 to the 48 to print ASCII `1` forever, otherwise print `0`.
-[>+<-----]>--->,<[->->+<<]>[>+<]>.<[>.<]
I ran it [here][1], but due to buffered output, you cannot see any output since the program never terminates on `1`.
Edit: I had forgotten to print `0` on input `0`. Fixed now. I like the `>.<` faces at the end.
[1]: http://esoteric.sange.fi/brainfuck/impl/interp/i.html