Delay one type of message not another

Try a switch node to separate the values 0 and 1 and then a delay node on the "1" output of the switch node.