Determine minimum

I have a MIP model, from the equation I have determined a vector X. Now I want to determine minimum-

Y(S) = min(1,X(S));

How can I model the same in GAMS?