Spock is gay, this behavior is not logical.
I think Spock would agree that “Going in through the out door” is most illogical.