Hi ,
You are not able to access client variable inside server action directly.
But you can make your own way like.
1. Create a server action with input_parameter.
2. Use this server action on client action and pass the client variable value in this input parameter and write you logic inside server action.
Hope this will help you.