SCOTUS rulings are somewhat more complicated than yes-no votes. There can be any number of opinions written, and every Justice involved with the case will essentially sign on to one of these opinions (while possibly noting that they largely agree with another opinion and just have more to say).