This presentation shows how you can build a memristor-based logic circuit:
https://www.youtube.com/watch?v=jTX3EHHFM5s