It’s quite possible I’m missing something stupid, but shouldn’t the 2nd
expression work?
q){x,y}[0b;1b]
01b
q){select from (a:0101b;b:0011b) where a=x,b=y}[0b;1b]
'rank
q){select from (a:0101b;b:0011b) where a=x,b=1b}[0b]
a b
0 1