You should do a career timeline and see where and when your energy has been positive. If you have been out of work for a year, you don't know enough about what past pieces of your career have been energizing without doing the timeline. You can't remember.
You need to decide what your purpose is. Not your passion, but your purpose. When you have been out of work for a long time, you don't have a rudder. You might be there, right now. You need to discover what energizes you.
You need to start networking. There are two kinds of networking: background networking. That will not
find you a job. The other kind of networking is target networking. That will find you a job. But, you need to find the loose connections that will introduce you to your target network. What will you say to your loose connections? Something about your purpose.
Looking for a job is an emergent project. You might be a little stuck. That's why I suggest you use a kanban inside of one-week timeboxes, so you have purposeful reflection every week (not on Fridays or Mondays!). It's really hard to keep your spirits up if you've been out of a job for even two months, never mind more than that. And, if your network isn't large enough to support a job search, it's even more difficult.
You can do this work. It requires perseverance. It's work. But hey, if you can program computers, you can do it. Programming is more difficult. But looking for a job requires those interpersonal skills few of us cultivated. So, it's hard. But, you can't give up. You keep going. That's why you have a kanban board.
So, try a couple of activities, and see if they help. Try some purposeful networking. Review your resume, and see if it is helping you. Look at my http://www.jrothman.com/blog/htp
blog, where I have a bunch of job search traps and what to do about them. And, a bunch of tips. (And, buy the book :-)