Groping means to try to find something in the dark, so, in this case, the person is attempting to make a connection in their mind.
Consider the statement "his mind attempted to make the connection.". Is the statement "His mind groped to make the connection." false? Yes/no/unknown