Binary Output

Which block do I have to use to get a binary output on Gnuradio (output
= 0 or output = 1)? Which are the apropriate settings of this block?

I know that there are the “Binary Slicer” block, but I don’t know if it
is the right block to do what I need and I don’t know how to
use/configure it.

Can anyone help me? Thanks a lot.