The issue observed is because the output data type of the Merge blocks is Boolean. However, the "Initial Output” parameter for the Merge blocks is set to be "[0]" which is a double data type and hence the error message you receive.
In the help documentation for the Merge block (under "Guidelines for Using Merge Block"), it is mentioned "Always set the Initial output parameter of the Merge block, "unless" the output port of the Merge block connects to another Merge block".
So to resolve the issue, set the “Initial Output” parameter for the Merge blocks to be [].
The corrected model is attached.
Best Answer