New York's highest court has reversed a midlevel appellate court decision, saying prosecutors failed to meet the legal bar for a warrantless search of a defendant's backpack.