Struggle with boolean

the logic I've send to you shows both true and false on the output.
image