@NikitaNemkov
has provided a thorough answer to your question. I'd like to point out a simple reason as to why you cannot do that: namely, it violates both the unitarity as well as linearity of quantum mechanics.
Unitarity
A unitary process is reversible, i.e., it doesn't map two different states to the same state (otherwise, you cannot tell where the output state came from -- thus, making it irreversible). Now, it is obvious why the kind of operation you describe would be irreversible, i.e., non-unitary: just as an example, it would map both $\frac{1}{\sqrt{2}}(\vert{0}\rangle
\pm\vert{1}\rangle)$ to $\vert{1}\rangle$.
Linearity
Linearity implies that if a process takes $\vert\psi_1\rangle$ to $\vert\phi_1\rangle$ and $\vert \psi_2\rangle$ to $\vert \phi_2\rangle$ then it ought to take $\frac{1}{\sqrt{2}}(\vert \psi_1\rangle +\vert \psi_2\rangle)$ to $\frac{1}{\sqrt{2}}(\vert \phi_1\rangle +\vert \phi_2\rangle)$. Now, the kind of operation you describe ought to take $\vert 0\rangle$ to $\vert 0\rangle$ and it ought to take $\vert 1\rangle$ to $\vert 1\rangle$. Thus, by linearity, it should take $\frac{1}{\sqrt{2}}(\vert 0 \rangle + \vert 1\rangle)$ to $\frac{1}{\sqrt{2}}(\vert 0 \rangle + \vert 1\rangle)$. However, since you want any state that is not $\vert 0\rangle$ to be mapped to $\vert 1\rangle$, your operation would rather want to map $\frac{1}{\sqrt{2}}(\vert 0 \rangle + \vert 1\rangle)$ to $\vert 1\rangle$ -- thus, violating linearity.