converts a real to a boolean
function Real2BooleanVector input Real x[:] "input"; input Real t = 0.5 "threshold"; output Boolean y[size(x, 1)] "output"; end Real2BooleanVector;