Is it possible to achieve using only bitwise operators, ie without logical/comparison/relation operators?

This would essentially be equivalent to the following.

```
(a & 1 == 0) || (a == 1)

```

I accept that in many languages a final equality comparison may need to be done to convert the result to a true/false value, but I am not considering that in the question.
An answer which accepts an input bit array and returns the same output bit array for an even number as for '1' is essentially what I am after. Either that or a reason why it is not possible.