xdmp.binaryToInteger( binary as String ) as Number
Parses a binary string, returning an integer.
xdmp.binaryToInteger("1001001100101100000001011010010"); => 1234567890