@er_name_not_found
I remembered (wired-OR) that if I pressing the button, 5V was output even if digitalWrite was LOW, so I update the simulator circuit according to the actual situation.
EDIT:
Changed to P-MOS and reduced unnecessary current consumption.