Julia: boolean comparisons with arrays
It's a matter of operator precedence. &
has a higher precedence in Julia than it does in Matlab. Just shift around your parentheses:
test = (o .< mat[:,2]) .& (mat[:,1] .== 65)
See Noteworthy differences from Matlab in the manual for more details (and it's worth reading through the other differences, too).