Here is a different take on the issue. I am using a Mode() function to see what the mode is. If an actual mode exists, that means that at least 2 values match, and therefore column t1 will get set to 1. See the JSL comments for a more complete explanation.
I have attached a data table that I used for testing.
Names Default To Here( 10 );
dt = Current Data Table();
New Column( "t1" );
For( i = 1, i <= N Rows( dt ), i++,
// add a value to the matrix that is less
// than any value in the data table. If
// the mode() function does not find an
// actual mode, it returns the smallest
// value from the matrix, so if that is
// the value returned, you know there
// are not at least 2 values that equal
// each other in the columns
If( Mode( dt[i, 0] || [-999] ) == -999,
dt:t1[i] = .,
dt:t1[i] = 1
)
);
Jim