$and

Added in 1.9.0

$and(A,B)

Returns binary A & B.

//echo -ag $and(5,4) returns 4

Both parameters can be 64 bit.