Take array length before splitting and store to flow variable.
Do validation, pass through only valid results, then join.
Compare array length with flow variable. If they are equal, result is valid.
[{"id":"2ee6ff33.d66e7","type":"inject","z":"f56ccabd.7567e8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":180,"y":580,"wires":[["eb4ab40e.b2b0f8"]]},{"id":"eb4ab40e.b2b0f8","type":"function","z":"f56ccabd.7567e8","name":"correct","func":"var arr = []\nfor(var i=0;i<5;i++){\n var o = {id:i,param:i*2}\n arr.push(o)\n}\nmsg.payload = arr\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":340,"y":580,"wires":[["fc218f58.360fe"]]},{"id":"74302180.a966b","type":"function","z":"f56ccabd.7567e8","name":"wrong","func":"var arr = []\nfor(var i=0;i<5;i++){\n var o = {id:i,param:i*2}\n arr.push(o)\n}\narr[3].param = \"wrong\"\nmsg.payload = arr\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":340,"y":620,"wires":[["fc218f58.360fe"]]},{"id":"e0d529fa.3ff2b8","type":"inject","z":"f56ccabd.7567e8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":170,"y":620,"wires":[["74302180.a966b"]]},{"id":"f4e29903.4ea1d8","type":"split","z":"f56ccabd.7567e8","name":"","splt":"\\n","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":370,"y":480,"wires":[["740f558f.abcd3c"]]},{"id":"740f558f.abcd3c","type":"switch","z":"f56ccabd.7567e8","name":"","property":"payload.param","propertyType":"msg","rules":[{"t":"istype","v":"number","vt":"number"},{"t":"lt","v":"10","vt":"num"}],"checkall":"true","repair":true,"outputs":2,"x":490,"y":480,"wires":[[],["e02e217.58589e","fd7038f8.dc51e8"]]},{"id":"fd7038f8.dc51e8","type":"join","z":"f56ccabd.7567e8","name":"","mode":"auto","build":"string","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":false,"timeout":"","count":"","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":610,"y":440,"wires":[["a968089e.314e58"]]},{"id":"447c4784.e6cb68","type":"debug","z":"f56ccabd.7567e8","name":"CORRECT","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":890,"y":440,"wires":[]},{"id":"fc218f58.360fe","type":"change","z":"f56ccabd.7567e8","name":"","rules":[{"t":"set","p":"count","pt":"flow","to":"$count(payload)\t","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":220,"y":480,"wires":[["f4e29903.4ea1d8"]]},{"id":"a968089e.314e58","type":"switch","z":"f56ccabd.7567e8","name":"","property":"$count(payload)\t","propertyType":"jsonata","rules":[{"t":"eq","v":"count","vt":"flow"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":730,"y":480,"wires":[["447c4784.e6cb68"],["2a788523.1638ca"]]},{"id":"2a788523.1638ca","type":"debug","z":"f56ccabd.7567e8","name":"WRONG","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":880,"y":520,"wires":[]},{"id":"e02e217.58589e","type":"debug","z":"f56ccabd.7567e8","name":"SECOND","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":640,"y":560,"wires":[]},{"id":"6de4570e.8cbf18","type":"function","z":"f56ccabd.7567e8","name":"wrong","func":"var arr = []\nfor(var i=0;i<5;i++){\n var o = {id:i,param:i*2}\n arr.push(o)\n}\narr[3].param = 12\narr[2].param = \"wrong type\"\nmsg.payload = arr\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":330,"y":680,"wires":[["fc218f58.360fe"]]},{"id":"5337a04c.2e57b","type":"inject","z":"f56ccabd.7567e8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":160,"y":680,"wires":[["6de4570e.8cbf18"]]}]
EDIT: for multiple condition check, take result from last output and be sure, the checking all rules option is in use.
Trick is to use the sequence recreation, so the joining can be done.