Reading "ac voltage pressence" using software only.

Because it is AC signal Arduino will detect only positive site of a wave.

You will actually damage the Arduino if you expose the input to negative voltages, or voltages > Vcc.