New York's highest court is expected to rule today on what one legal scholar called a contest between judicial hearts and minds, a parsing of legal texts and private sympathies: whether to permit gay and lesbian marriage.