Works for me please supply your test flow.
[{"id":"6f18bc6d7dd7174f","type":"inject","z":"d1395164b4eec73e","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"[0,25,0,0]","payloadType":"bin","x":70,"y":1480,"wires":[["3e2bbff42a84efa4"]]},{"id":"3e2bbff42a84efa4","type":"switch","z":"d1395164b4eec73e","name":"","property":"$count($$.payload.*) = 3 and $count($$.payload.*[$ = 0]) = 3","propertyType":"jsonata","rules":[{"t":"true"}],"checkall":"true","repair":false,"outputs":1,"x":270,"y":1440,"wires":[["4dfb5d80e28a7ca8"]]},{"id":"50999b455bd5c850","type":"inject","z":"d1395164b4eec73e","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"[0,0,0]","payloadType":"bin","x":70,"y":1620,"wires":[["3e2bbff42a84efa4"]]},{"id":"a1a205e83f1b444c","type":"inject","z":"d1395164b4eec73e","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"[1 ,0,0]","payloadType":"bin","x":70,"y":1520,"wires":[["3e2bbff42a84efa4"]]},{"id":"6ea79d895c640869","type":"inject","z":"d1395164b4eec73e","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"[1 ,0,0,0]","payloadType":"bin","x":70,"y":1560,"wires":[["3e2bbff42a84efa4"]]},{"id":"4dfb5d80e28a7ca8","type":"debug","z":"d1395164b4eec73e","name":"debug 2456","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":450,"y":1560,"wires":[]},{"id":"0f23ca3219ee63b6","type":"change","z":"d1395164b4eec73e","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"$not(false in $$.payload.*#$i.([0,25,0][$i] = $))","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":260,"y":1560,"wires":[["4dfb5d80e28a7ca8"]]}]