The problem is 0(TAB)0 interpreted falsely as a dark red square although it should be a dark red square surrounded by zeroes/ones. Import has different data-formats such as Data and Matrix but I don't know which one this is: ASCII? So how can I import the below type data as a text-file to Mathematica and get the goal-style matrixplot? Is there some format command to specify the structure of the data for importing?
Goal

Failure

Data
0,0,1,1,1,1,0 0,1,1,1,1,1,0 0,0,1,1,1,1,0 0,0,1,1,1,1,0 0,0,0,0,1,1,0 0,0,0,1,1,1,0 0,0,0,0,1,1,0 0,0,0,0,1,1,0 0,0,0,0,0,1,0 0,0,0,0,0,0,0 0,0,0,0,0,0,0 0,0,0,0,0,0,0 1,1,1,1,1,1,0 1,1,1,1,1,1,0 
FullFormof your imported data and find out what the erroneous character looks like, then remove it. If the data isn't in the right dimensions after removal, usePartitionorTransposeto get it reformatted. $\endgroup$DeleteCases[data,"0\t0"]. This will give you the right data but in one big matrix. Then you can usePartto separate out the first half from the second half. $\endgroup$Import["~/R1", "Table", "FieldSeparators" -> {" ", ",", "\t"}]should do the job... $\endgroup$