Here's what worked for me with column values of Y, N, empty string. I had to use isNull for my derived column to be true, false, null.
toBoolean(toString(iif({ColumnName} == "Y", "1", iif(isNull({ColumnName}), "", "0"))))