There is no need for a loop.....Taking @jthi example and adding a second row to his example table, one can see that it will add as many columns as found.

Now the additional issue that one might want the binary columns to line up and have the same number of columns generated. Here is a modification that accomplishes that

Names Default To Here( 1 );
dt = New Table( "Untitled",
Add Rows( 1 ),
Compress File When Saved( 1 ),
New Column( "Column 1", Character, "Nominal", Set Values( {"1011", "11010110"} ) )
);
max length = Col Max( Length( :Column 1 ) );
fill = Repeat( "0", max length );
For Each Row(
:Column 1 = Substr( fill, 1, max length - Length( :Column 1 ) ) || :Column 1
);
dt << New Column( "Separated",
Character,
"Nominal",
Formula( Concat Items( Words( :Column 1, "" ), "|" ) )
);
dt << Text to Columns( columns( :Separated ), Delimiters( "|" ) );
Jim