Python 2.7: adding the first two elements in a colum per row of data

I have the following data set:

0 | 0 | 23
0 | 1 | 3
1 | 0 | 4

How do I add the first to elements and if the result equals 1 store the third in a list?