if you knew you were dreaming and were "there" then it was a lucid, otherwise no

I once had an experience where I was in a nonlucid at some sea shore and tried to wild there, and that's how I became lucid. I only realized the first part was a nonlucid after I woke up.