There’s also BitArrays: https://docs.julialang.org/en/v1/base/arrays/#Base.BitArray
edit: oops, I misread the OP, thought they just needed two values instead of three.
There’s also BitArrays: https://docs.julialang.org/en/v1/base/arrays/#Base.BitArray
edit: oops, I misread the OP, thought they just needed two values instead of three.