Yang and seven other New Yorkers filed the lawsuit against the Board of Elections.
They say the cancellation infringes on their right to vote for their chosen candidate.
New York is the first state to cancel a primary during this pandemic.
The state Board of Elections notes that Joe Biden is now running uncontested after other candidates were removed from the ballot.
MORE CORONAVIRUS COVID-19 COVERAGE
COVID-19 Help, Information and Resources
Grieving the lost: Tri-State residents who have died
New York state
Share your coronavirus story with Eyewitness News
Stimulus check scams and other coronavirus hoaxes
Coronavirus prevention: how clean are your hands?
Centers for Disease Control and Prevention on coronavirus
Total count of NYC COVID-19 cases based on patient address