Gives the coordinates corresponding to 'logic 1'. of a 2D matrix where a 'logic 1' is defined as 255 for char, 1 for long, 1.0 for float32 and float64.