Logical "Star Trek" character