You’re building the polyline as invididual segments as a result of feeding the list of points into the Boolean values. You corrected this by grabbing the first item in the list of 3 polycurves (the A code block), but re-introduced the issue in a different way by using your polyline as both the polyline input and the ‘right side’ input value. Try wiring things a bit different and sticking to the desired input types.
Doing this on a curve by curve process requires a lot of steps than just joining the curves in a polycurve:
thanks for giving reply, its working