Connected 2-Pin Button switching randomly from LOW to HIGH
That button won't have an internal pull-up resistor (it's rated for250VAC with a breakdown of 1500V AC!) - you need an external pull-up resistor and also take note what EM_Fields says about voltage and current - try it with a 1k ohm pull-up but don't expect miracles and do expect severe contact bounce to cause multiple false triggers.