Just like the way the old Amstrad CPC light guns worked (and according to the wiki article cited previously), the PS1 lightgun probably looked at the screen and determined if a bright point (the phosphor dot) is visible while the trigger is depressed. If it is, then it's a hit. If not, then ...