Since the script component is using VB, it would be something like
If Column(type) = True Then
CollectionA.Add(row)
Else
CollectionB.Add(row)
End If
However, you may want to look into using a DataTable, as it more closely represents what you are trying to store.
There is an event that you can tie to that executes when all the rows have gone through the component. When that event executes you can move the data from the DataTables into some variables that exist in the dataflow. If you type these variables as Table values, I believe that you can ten work with those variables in the dataflow.
Your best bet may be to put this entire operation into a seperate DataFlow component within your control flow, as it sounds as though you may be changing the number of rows coming out, and your best bet may be to use multiple DataFlow components.